RimuHosting's REST-ful Resources Reference

Path: / r / orders / order-{order-oid}-{domain} / vps / parameters

Change a VPS's resources like memory or disk size.  Will force a VPS restart.  And will update billing.

Path parameters:
order-oid ([0-9]+) - The id of the order and a domain name.  The domain name is not used in the lookup (we rely solely on the order oid) but the name makes the uri more user-friendly.  The order oid is immuatable.  It won't change.  Even if you rename the server.  So it makes a good id.
domain ([^;/]*) - This parameter is ignored.  But having it makes the urls a little more recognizable.  Typically the VPS domain name is inserted here.

Resource Methods
Method Summary
NameDescription
PUT /r/orders/order-{order-oid}-{domain}/vps/parametersChange a VPS's resources like memory or disk size.  Will force a VPS restart.  And will update billing.

Method Detail

PUT /r/orders/order-{order-oid}-{domain}/vps/parameters

Change a VPS's resources like memory or disk size.  Will force a VPS restart.  And will update billing.

HTTP Example:
PUT /r/orders/order-{order-oid}-{domain}/vps/parameters
API Example:

JAXRSVPS.setVPSParameters({'order-oid': /* order_oid The id of the order and a domain name.  The domain name is not used in the lookup (we rely solely on the order oid) but the name makes the uri more user-friendly.  The order oid is immuatable.  It won't change.  Even if you rename the server.  So it makes a good id. */,
  'domain': /* domain This parameter is ignored.  But having it makes the urls a little more recognizable.  Typically the VPS domain name is inserted here. */,
  '$entity': /* Change a VPS's resources like memory or disk size.  Will force a VPS restart.  And will update billing. */});

Input:
RunningVPSData
Output:
PutRunningVPSDataResponse